package product.action;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import product.dao.BuildingLockEquipmentDao;
import product.dao.BuildingTalkEquipmentDao;
import product.dao.ControlDiskVideoDao;
import product.dao.VideoMatrixDao;
import product.dao.VideoMonitorDao;
import product.dao.VidiconDao;
import product.dao.YuntaiDao;
import product.model.BuildingLockEquipment;
import product.model.BuildingTalkEquipment;
import product.model.ControlDiskVideo;
import product.model.VideoMatrix;
import product.model.VideoMonitor;
import product.model.Vidicon;
import product.model.Yuntai;

import com.opensymphony.xwork2.ActionSupport;

public class ProductAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private BuildingLockEquipment buildingLockEquipment;
	
	private BuildingTalkEquipment buildingTalkEquipment;
	
	private ControlDiskVideo controlDiskVideo;
	
	private VideoMatrix videoMatrix;
	
	private VideoMonitor videoMonitor;
	
	private Vidicon vidicon;
	
	private Yuntai yuntai;
	
	private BuildingLockEquipmentDao buildingLockEquipmentDao;
	
	private BuildingTalkEquipmentDao buildingTalkEquipmentDao;
	
	private ControlDiskVideoDao controlDiskVideoDao;
	
	private VideoMatrixDao videoMatrixDao;
	
	private VideoMonitorDao videoMonitorDao;
	
	private VidiconDao vidiconDao;
	
	private YuntaiDao yuntaiDao;
	
	public BuildingLockEquipment getBuildingLockEquipment() {
		return buildingLockEquipment;
	}

	public void setBuildingLockEquipment(BuildingLockEquipment buildingLockEquipment) {
		this.buildingLockEquipment = buildingLockEquipment;
	}

	public BuildingTalkEquipment getBuildingTalkEquipment() {
		return buildingTalkEquipment;
	}

	public void setBuildingTalkEquipment(BuildingTalkEquipment buildingTalkEquipment) {
		this.buildingTalkEquipment = buildingTalkEquipment;
	}

	public ControlDiskVideo getControlDiskVideo() {
		return controlDiskVideo;
	}

	public void setControlDiskVideo(ControlDiskVideo controlDiskVideo) {
		this.controlDiskVideo = controlDiskVideo;
	}

	public VideoMatrix getVideoMatrix() {
		return videoMatrix;
	}

	public void setVideoMatrix(VideoMatrix videoMatrix) {
		this.videoMatrix = videoMatrix;
	}

	public VideoMonitor getVideoMonitor() {
		return videoMonitor;
	}

	public void setVideoMonitor(VideoMonitor videoMonitor) {
		this.videoMonitor = videoMonitor;
	}

	public Vidicon getVidicon() {
		return vidicon;
	}

	public void setVidicon(Vidicon vidicon) {
		this.vidicon = vidicon;
	}

	public Yuntai getYuntai() {
		return yuntai;
	}

	public void setYuntai(Yuntai yuntai) {
		this.yuntai = yuntai;
	}

	public BuildingLockEquipmentDao getBuildingLockEquipmentDao() {
		return buildingLockEquipmentDao;
	}

	public void setBuildingLockEquipmentDao(
			BuildingLockEquipmentDao buildingLockEquipmentDao) {
		this.buildingLockEquipmentDao = buildingLockEquipmentDao;
	}

	public BuildingTalkEquipmentDao getBuildingTalkEquipmentDao() {
		return buildingTalkEquipmentDao;
	}

	public void setBuildingTalkEquipmentDao(
			BuildingTalkEquipmentDao buildingTalkEquipmentDao) {
		this.buildingTalkEquipmentDao = buildingTalkEquipmentDao;
	}

	public ControlDiskVideoDao getControlDiskVideoDao() {
		return controlDiskVideoDao;
	}

	public void setControlDiskVideoDao(ControlDiskVideoDao controlDiskVideoDao) {
		this.controlDiskVideoDao = controlDiskVideoDao;
	}

	public VideoMatrixDao getVideoMatrixDao() {
		return videoMatrixDao;
	}

	public void setVideoMatrixDao(VideoMatrixDao videoMatrixDao) {
		this.videoMatrixDao = videoMatrixDao;
	}

	public VideoMonitorDao getVideoMonitorDao() {
		return videoMonitorDao;
	}

	public void setVideoMonitorDao(VideoMonitorDao videoMonitorDao) {
		this.videoMonitorDao = videoMonitorDao;
	}

	public VidiconDao getVidiconDao() {
		return vidiconDao;
	}

	public void setVidiconDao(VidiconDao vidiconDao) {
		this.vidiconDao = vidiconDao;
	}

	public YuntaiDao getYuntaiDao() {
		return yuntaiDao;
	}

	public void setYuntaiDao(YuntaiDao yuntaiDao) {
		this.yuntaiDao = yuntaiDao;
	}

	@Transactional(propagation=Propagation.REQUIRED)
	public String start(){
		return SUCCESS;
	}
	

}
